.class Lcom/waiqin365/lightapp/dailyreport/view/bg;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/dailyreport/view/at;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/view/at;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/at;->f:I

    const/4 v1, -0x1

    if-eq v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->h(Lcom/waiqin365/lightapp/dailyreport/view/at;)Landroid/widget/LinearLayout;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget v1, v1, Lcom/waiqin365/lightapp/dailyreport/view/at;->f:I

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    move-object v0, v1

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;->setDirection(I)V

    check-cast v1, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;

    const/high16 v0, 0x3f800000    # 1.0f

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/dailyreport/view/ColorTrackView;->setProgress(F)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->n(Lcom/waiqin365/lightapp/dailyreport/view/at;)Landroid/support/v4/view/ViewPager;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget v1, v1, Lcom/waiqin365/lightapp/dailyreport/view/at;->f:I

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->i(Lcom/waiqin365/lightapp/dailyreport/view/at;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget v1, v1, Lcom/waiqin365/lightapp/dailyreport/view/at;->f:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/by;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/by;->c()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->i(Lcom/waiqin365/lightapp/dailyreport/view/at;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget v1, v1, Lcom/waiqin365/lightapp/dailyreport/view/at;->f:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/by;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/by;->d()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->d()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bg;->a:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->b(Lcom/waiqin365/lightapp/dailyreport/view/at;)Landroid/app/Activity;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/LoginMainActivity;

    iget-object v0, v0, Lcom/waiqin365/base/login/LoginMainActivity;->dailyHintImg:Landroid/widget/ImageView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    return-void
.end method
